package eu.szemraj.utils {

    public class DelegateUtil {
    	
    	
    	public static function createDelegateFunction( method:Function, ...params ):Function {
    		
    		
    		return function( ...args ):* {
    			
                return method.apply( this, args.concat( params ) );
            };
    		
    		
    	}
    }
}
